package day_4.dmeo;/*
 *@ 代阳敲的专属代码
 **/

public class Block2 {
    {
        name="实例代码块";
    }
    String name="实例初始化";





    public Block2(String name) {
        //Block2.name=name;
    }
}
class Test2  {
    public static void main(String[] args) {
        Block2 构造器 = new Block2("构造器");
        System.out.println(构造器.name);
    }

}